import React from 'react'

const Button=props=>{
    return (
        <button>{props.children}</button>
    )
}
class Label extends React.Component{
    render(){
        return (
            <label>{this.props.children}</label>
        )
    }
}

export default class App extends React.Component{
    render(){
        return (
            <div>
                <Button>按钮</Button>
                <br/>
                <Label>label标签</Label>
            </div>
        )
    }
}